package com.bootdo.system.domain;

import java.io.Serializable;

public class SettingDO implements Serializable {
    private Integer id;
    private String key;
    private String value;
    private String memo;
    private Boolean isEnable;
    private Boolean isShown;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Boolean getEnable() {
        return isEnable;
    }

    public void setEnable(Boolean enable) {
        isEnable = enable;
    }

    public void setEnable(Integer enable) {
        isEnable = enable == 1;
    }

    public Boolean getShown() {
        return isShown;
    }

    public void setShown(Boolean shown) {
        isShown = shown;
    }

    public void setShown(Integer shown) {
        isShown = shown == 1;
    }
}
